package com.rzjm.exercise.module.dao;

import com.rzjm.exercise.common.base.dao.BaseDao;
import com.rzjm.exercise.module.domain.TerminalTemperature;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 设备温度记录列表
 * @author mr.zhou
 * @email zhouwei_ncie@163.com
 * @date 2020-12-15 22:36:23
 */
@Mapper
public interface TerminalTemperatureDao extends BaseDao<TerminalTemperature> {

    List<TerminalTemperature> getListByTerminalId(@Param("map") Map<String, Object> map);

    Long getDeviceAvgInfo(@Param("map") Map<String, Object> map);

    List<TerminalTemperature> getTemperatureList(@Param("map") Map<String, Object> searchParams);
}
